import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { MusicRoutingModule } from './music-routing.module';
import { PageComponent } from './page/page.component';
import { FooterComponent } from './page/footer/footer.component';
import { HeaderComponent } from './page/header/header.component';
import { FindComponent } from './page/find/find.component';
import { SliderComponent } from './page/find/slider/slider.component';
import { FindNavComponent } from './page/find/find-nav/find-nav.component';
import { HotComponent } from './page/find/hot/hot.component';
import { SongComponent } from './page/find/song/song.component';
import { MyComponent } from './page/my/my.component';
import { CommunityComponent } from './page/community/community.component';
import { PodcastComponent } from './page/podcast/podcast.component';
import { FollowComponent } from './page/follow/follow.component';
import { PlayComponent } from './play/play.component';
import { MenuComponent } from './menu/menu.component';
import {MatProgressSpinnerModule} from '@angular/material/progress-spinner';
import {MatTableModule} from '@angular/material/table';
import {MatButtonModule} from '@angular/material/button';
import {MatFormFieldModule} from '@angular/material/form-field';
import { FormsModule } from '@angular/forms';
import {MatToolbarModule} from '@angular/material/toolbar';
import {MatIconModule} from '@angular/material/icon';
import {MatButtonToggleModule} from '@angular/material/button-toggle';
import {MatTreeModule} from '@angular/material/tree';
import {MatStepperModule} from '@angular/material/stepper';
import {MatTabsModule} from '@angular/material/tabs';
import {MatSliderModule} from '@angular/material/slider';
import {MatPaginatorModule} from '@angular/material/paginator';
import { ButtonComponent } from './page/button/button.component';
import { TabGroupComponent } from './page/tab-group/tab-group.component';
import { TabComponent } from './page/tab/tab.component';
@NgModule({
  declarations: [
    PageComponent,
    FooterComponent,
    HeaderComponent,
    FindComponent,
    SliderComponent,
    FindNavComponent,
    HotComponent,
    SongComponent,
    MyComponent,
    CommunityComponent,
    PodcastComponent,
    FollowComponent,
    PlayComponent,
    MenuComponent,
    ButtonComponent,
    TabGroupComponent,
    TabComponent
  ],
  imports: [
    CommonModule,
    MusicRoutingModule,
    FormsModule,
    // 第三方组件库 
    MatTableModule,MatProgressSpinnerModule,MatButtonModule,MatFormFieldModule,MatToolbarModule,MatIconModule,MatButtonToggleModule
    ,MatTreeModule,MatStepperModule,MatTabsModule,MatSliderModule,MatPaginatorModule
  ]
})
export class MusicModule { }
